package com.amin.avro;

import java.net.InetSocketAddress;

import org.apache.avro.ipc.NettyServer;
import org.apache.avro.ipc.specific.SpecificResponder;

import com.amin.avro.rpc.service.AddService;
import com.amin.avro.rpc.service.AddServiceImpl;

public class Server {
	public static void main(String[] args) {
		NettyServer server = new NettyServer(new SpecificResponder(AddService.class, new AddServiceImpl()),
				new InetSocketAddress(6666));
	}
}
